<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" href="/favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title><%- title %></title>

    <script>
      document.write('<script src="/config/index.js?t=' + new Date().getTime() + '"><\/script>')
    </script>

    <style>
      * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
      }
      .app-loader-container {
        width: 100vw;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }
      .sv-index-loader {
        position: relative;
        width: 120px;
        height: 90px;
        margin: 0 auto;
      }
      .sv-index-loader:before {
        content: '';
        position: absolute;
        bottom: 30px;
        left: 50px;
        height: 30px;
        width: 30px;
        border-radius: 50%;
        background: #fb7299;
        animation: anim-loading-bounce 0.5s ease-in-out infinite alternate;
      }
      .sv-index-loader:after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 7px;
        width: 45px;
        border-radius: 4px;
        box-shadow: 0 5px 0 #f2f2f2, -35px 50px 0 #f2f2f2, -70px 95px 0 #f2f2f2;
        animation: anim-loading-step 1s ease-in-out infinite;
      }
      @keyframes anim-loading-bounce {
        0% {
          transform: scale(1, 0.7);
        }
        40% {
          transform: scale(0.8, 1.2);
        }
        60% {
          transform: scale(1, 1);
        }
        100% {
          bottom: 140px;
        }
      }
      @keyframes anim-loading-step {
        0% {
          box-shadow: 0 10px 0 rgba(0, 0, 0, 0), 0 10px 0 #f2f2f2, -35px 50px 0 #f2f2f2, -70px 90px 0 #f2f2f2;
        }
        100% {
          box-shadow: 0 10px 0 #f2f2f2, -35px 50px 0 #f2f2f2, -70px 90px 0 #f2f2f2, -70px 90px 0 rgba(0, 0, 0, 0);
        }
      }
    </style>
  </head>
  <body>
    <div id="app">
      <div class="app-loader-container">
        <div class="sv-index-loader"></div>
      </div>
    </div>

    <script type="module" src="/src/main.js"></script>
  </body>
</html>
